package io.lhj.chapter10;

public class NameSpace1 {

    public static void main(String[] args) {
//        MyClassLoader classLoader1 = new MyClassLoader("G:\\classloader1", null);
//        BrokenDelegateClassLoader classLoader2 = new BrokenDelegateClassLoader("G:\\classloader1", null);
//        Class<?> aClass = classLoader1.loadClass("com.wangwenjun.concurrent.chapter10.Test");
//        Class<?> bClass = classLoader2.loadClass("com.wangwenjun.concurrent.chapter10.Test");
//        System.out.println(aClass.getClassLoader());
//        System.out.println(bClass.getClassLoader());
//        System.out.println(aClass.hashCode());
//        System.out.println(bClass.hashCode());
//        System.out.println(aClass == bClass);
    }
}
